package hfjava;

public class Guess {
    String name;
    double price;

    public String guess(double price) {

        if (price > this.price) {
            return "大了";
        } else if (price < this.price) {
            return "小了";
        }else{
            return "猜中了";
        }

    }


}
